<?php /*a:1:{s:70:"/www/wwwroot/whatsuzo.cyou/application/index/view/my/edit_address.html";i:1642367576;}*/ ?>
<!DOCTYPE html><html data-dpr="1" style="font-size: 37.5px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title><?php echo htmlentities(app('lang')->get('address_edit')); ?></title><link href="/static_new6/css/app.7b22fa66c2af28f12bf32977d4b82694.css" rel="stylesheet"><link rel="stylesheet" href="/static_new/css/public.css"><script charset="utf-8" src="/static_new/js/jquery.min.js"></script><script charset="utf-8" src="/static_new/js/dialog.min.js"></script><script charset="utf-8" src="/static_new/js/common.js"></script><style type="text/css" title="fading circle style">
        .circle-color-8 > div::before {
            background-color: #ccc;
        }
        .test{
            font-size: .426667rem;
            line-height: 1.12rem;
            border-radius: .106667rem;
            background-color: #2f3848;
            color: #fff;
            width: 90%;
            text-align: center;
            display: block;
            margin: 0 auto;
            margin-top: .666667rem;
        }
        }
    </style></head><body style="font-size: 12px;"><div id="app"><form id="login-form" ><div data-v-8831f782="" class="main"><div data-v-8831f782="" class="header"><div class="left_btn" onclick="window.history.back(-1)"><img
                    src=""
                    alt="" class="return"></div><div class="Maintitle"><h3><?php echo htmlentities(app('lang')->get('address_edit')); ?></h3></div><div class="right_btn"></div></div><div data-v-8831f782="" class="bink_card"><h3 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_sfxx')); ?></h3><ul data-v-8831f782="" class="bink_card_ul"><li data-v-8831f782=""><h4 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_name')); ?></h4><input data-v-8831f782="" type="text" name="shoujianren" value="<?php echo htmlentities($info['name']); ?>" placeholder="<?php echo htmlentities(app('lang')->get('address_q_name')); ?>"></li><li data-v-8831f782=""><h4 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_phone')); ?></h4><input data-v-8831f782="" type="text" name="shouhuohaoma" value="<?php echo htmlentities($info['tel']); ?>" placeholder="<?php echo htmlentities(app('lang')->get('address_q_phone')); ?>"></li></ul><h3 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_dzxx')); ?></h3><ul data-v-8831f782="" class="bink_card_ul"><li data-v-8831f782=""><h4 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_dq')); ?></h4><input data-v-8831f782="" type="text" name="area" autocomplete="off" value="<?php echo htmlentities($info['area']); ?>" placeholder="<?php echo htmlentities(app('lang')->get('address_q_dq')); ?>"></li><li data-v-8831f782=""><h4 data-v-8831f782=""><?php echo htmlentities(app('lang')->get('address_xxdz')); ?></h4><input data-v-8831f782="" name="address" autocomplete="off" value="<?php echo htmlentities($info['address']); ?>" type="text" placeholder="<?php echo htmlentities(app('lang')->get('address_q_dz')); ?>"></li></ul><h3 data-v-8831f782="">&nbsp;</h3><ul data-v-8831f782="" class="bink_card_ul"><li data-v-8831f782="" ><h4 data-v-8831f782="" style="width: 6rem;"><?php echo htmlentities(app('lang')->get('address_swcy')); ?></h4><label data-v-8831f782="" class="mint-switch"><input type="checkbox" class="mint-switch-input" checked readonly disabled><span class="mint-switch-core"></span><div class="mint-switch-label"></div></label></li></ul></div><p data-v-8831f782="" class="save-btn test"><?php echo htmlentities(app('lang')->get('queren')); ?></p></div></form></div><script type="application/javascript">
    $(function () {
        /*点击登录*/
        $(".save-btn").on('click', function (eachCallback) {
            if ($("input[name=shoujianren]").val() == '' || $("input[name=shouhuohaoma]").val() == '' || $("input[name=address]").val() == '') {
                $(document).dialog({infoText: '<?php echo htmlentities(app('lang')->get('not_empty')); ?>'});
                return false;
            }

                var loading = null;
                $.ajax({
                    url: "/index/my/edit_address",
                    data: $("#login-form").serialize(),
                    type: 'POST',
                    beforeSend: function () {
                        loading = $(document).dialog({
                            type: 'notice',
                            infoIcon: '/static_new/img/loading.gif',
                            infoText: 'loading...',
                            autoClose: 0
                        });
                    },
                    success: function (data) {

                        if (data.code == 0) {
                            $(document).dialog({infoText: '<?php echo htmlentities(app('lang')->get('bank_save_ok')); ?>'});
                            setTimeout(function (){
                                window.location.href = "<?php echo url('/index/rot_order/index'); ?>";
                            },2000);
                        } else {
                            loading.close();
                            $(document).dialog({infoText: data.info});
                        }
                    }
                });

            return false;
        });
    })

    $("#login-form").submit(function () {
        return false;
    })

</script></body></html>